package com.tool4j.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tool4j.entity.AiChatLog;
import com.tool4j.entity.params.ChatParams;
import com.tool4j.entity.vo.DMessage;

import java.util.List;

public interface AiChatLogService extends IService<AiChatLog> {

    void saveLog(ChatParams params);

    void updateLog(String chatId, String output);

    List<DMessage> findList(Long sessionId);
}
